#ifndef GUIBOX_H_INCLUDED
#define GUIBOX_H_INCLUDED
#include <SFML/Graphics.hpp>
#include <SFML/System.hpp>
#include "../Datas/Constante.hpp"
#include "../RenderingSystem/DialogFontAnimated.hpp"
#include "DialogManager.hpp"
#include "../ChatSystem/CommandManager.hpp"
#include "../Core.hpp"

class GuiBox
{
public :
    virtual ~GuiBox();
    virtual void update();
    virtual void draw(sf::RenderWindow*window);
    bool isActive();
    bool isActiveOrWaiting();

    void disable();
    void enable();


protected:
    typedef enum
    {
        D_ACTIVE,D_WAITING_INPUT,D_INACTIVE
    }DialogState;

    int status;
    DialogFontAnimated * m_dialogFontAnimated;
    DialogManager* m_dialogManager;

    sf::Texture textBubbleTexture;
    sf::Sprite textBubbleSprite;

};

#endif // GUIBOX_H_INCLUDED
